package com.zhongyi.dao;

import com.zhongyi.domian.Account;

import java.util.List;

public interface AccountDao {
    /**
     * 根据Id查询账户
     * @param accountId
     * @return
     */
    Account findAccountById(Integer accountId);


    /**
     * 更新账户
     * @param account
     */
    void updateAccount(Account account);


    void save(Account account);

}
